home *** CD-ROM | disk | FTP | other *** search
- Path: mudskipper.cac.psu.edu!user
- From: fcusack@tdx.org (frank.)
- Newsgroups: comp.lang.c
- Subject: Re: Dangling pointer?
- Date: Thu, 18 Apr 1996 16:54:31 -0400
- Organization: Soylent Green is People!!
- Message-ID: <fcusack-1804961654310001@mudskipper.cac.psu.edu>
- References: <4l0r4b$jte@dewey.csun.edu> <fcusack-1604962132440001@mudskipper.cac.psu.edu> <4l33dcINN8ms@keats.ugrad.cs.ubc.ca> <829849901snz@genesis.demon.co.uk>
- NNTP-Posting-Host: mudskipper.cac.psu.edu
-
- In article <829849901snz@genesis.demon.co.uk>, fred@genesis.demon.co.uk wrote:
-
- > In article <4l33dcINN8ms@keats.ugrad.cs.ubc.ca>
- > c2a192@ugrad.cs.ubc.ca "Kazimir Kylheku" writes:
- >
- > >In article <fcusack-1604962132440001@mudskipper.cac.psu.edu>,
- > >frank. <fcusack@tdx.org> wrote:
- > >>In article <4l0r4b$jte@dewey.csun.edu>, kc44097@csun.edu (chen) wrote:
- > >>
- > >>> What is "dangling pointer",can someone give me a defination and
- example?
- > >>> Please e-mail me kc44097@huey.csun.edu
- > >>>
- > >>
- > >>It's the complement of a split infinitive. :)
- > >
- > >Actually it isn't. A there is nothing wrong with putting words between
- the "to"
- > >and the verb.
- >
-
- Yes there is. It's grammatically incorrect. Boy I wish I had gotten these
- followups earlier. What monster have I started here?
-
- > It depends.
- >
- > >In fact, it's the only place an adjective can go:
- >
- > ???
- >
- > > "I want to quickly get this message out"
- >
-
- And so did he show his marvelous command of grammar.
-
- > Quick is an adjective, quickly is an adverb.
- [...]
- >
- > It depends on what you're writing. Usenet tends to be more interactive,
- > almost like a spoken language so I'd agree with you in that context.
- >
- > >A somewhat better analogy to a dangling C pointer is the use of a reference
- > >that is unresolved. For example, the use of a word like "he" or "it"
- without an
- > >antecedent. That's not a syntactic error, of course---but neither is a
- dangling
- > >pointer in C, and that's why any grammar error (legitimate or not) is a bad
- > >analogy for it.
-
- I didn't mean to provide an analogy, I was just being (very slightly it
- seems) facetious.
-
- Let's end this thread here! Please!
-
- ~Frank
- - Through the modem, past the router, over the firewall.. nothing but Net -
- - PGP ID: 1C0F6685 | NCB#56 | Visit me --> http://www.tdx.org/~fcusack/ -
-